package com.happy.zebra.admin.api.feign;

import com.shycloud.mido.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "shycloud-organ-biz")
public interface RemoteCodeService {
    
    @RequestMapping(method = RequestMethod.GET, value = "/master/v2/allocate")
    R allocate(@RequestParam("duration") Integer duration, @RequestParam("number") Integer number, @RequestParam("optId") Integer optId, @RequestParam("orgId") Integer orgId);
}
